<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('编辑-机构管理')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
            <tr>
                <td class="formTitle">机构名称<font face="宋体">*</font></td>
                <td class="formValue">
                    <input type="text" class="form-control" placeholder="机构名称" v-model="org.orgaName" isvalid="yes" checkexpession="NotNull">
                </td>
            </tr>
            <tr>
                <td class="formTitle">机构编码<font face="宋体">*</font></td>
                <td class="formValue">
                    <input type="text" class="form-control" placeholder="机构编码" v-model="org.orgaCode" isvalid="yes" checkexpession="NotNull">
                </td>
            </tr>
            <tr>
                <td class="formTitle">上级机构<font face="宋体">*</font></td>
                <td class="formValue">
                    <input type="text" class="form-control pointer" placeholder="上级机构" v-model="org.parentOrgaName" @click="orgTree" isvalid="yes" checkexpession="NotNull" readonly="readonly">
                </td>
            </tr>
            <tr>
                <td class="formTitle">机构类型</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="orgaType" value="0" v-model="org.orgaType"/> 总部机构
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="orgaType" value="1" v-model="org.orgaType"/> 分公司
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="orgaType" value="2" v-model="org.orgaType"/> 营业部
                    </label>
                </td>
            </tr>
            <tr>
                <td class="formTitle">可用</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="status" value="0" v-model="org.status"/> 禁用
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="status" value="1" v-model="org.status"/> 正常
                    </label>
                </td>
            </tr>
            <tr>
                <td class="formTitle">排序</td>
                <td class="formValue">
                    <input type="text" class="form-control" placeholder="排序" v-model="org.sortNum">
                </td>
            </tr>
            <tr>
                <td class="formTitle">备注</td>
                <td class="formValue">
                    <textarea rows="4" class="form-control" placeholder="备注" v-model="org.remark"></textarea>
                </td>
            </tr>
		</table>
	</div>
	<div th:include="include/footer_js::footer"></div>
	<script th:src="@{/resource/static/js/base/org/edit.js}"></script>
</body>
</html>